<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>tabrec</title>
    <link rel="stylesheet" type="text/css" href="csound.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="home" href="index.html" title="The Canonical Csound Reference Manual" />
    <link rel="up" href="OpcodesTop.html" title="Orchestra Opcodes and Operators" />
    <link rel="prev" href="tabplay.html" title="tabplay" />
    <link rel="next" href="tabsum.html" title="tabsum" />
  </head>
  <body>
    <div class="navheader">
      <table width="100%" summary="Navigation header">
        <tr>
          <th colspan="3" align="center">tabrec</th>
        </tr>
        <tr>
          <td width="20%" align="left"><a accesskey="p" href="tabplay.html">Prev</a> </td>
          <th width="60%" align="center">Orchestra Opcodes and Operators</th>
          <td width="20%" align="right"> <a accesskey="n" href="tabsum.html">Next</a></td>
        </tr>
      </table>
      <hr />
    </div>
    <div class="refentry">
      <a id="tabrec"></a>
      <div class="titlepage"></div>
      <a id="IndexTabRec" class="indexterm"></a>
      <div class="refnamediv">
        <h2>
          <span class="refentrytitle">tabrec</span>
        </h2>
        <p>tabrec — 
      Recording of control signals.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp157463344"></a>
        <h2>Description</h2>
        <p>
      Records control-rate signals on trigger-temporization basis.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp157464496"></a>
        <h2>Syntax</h2>
        <pre class="synopsis"><span class="command"><strong>tabrec</strong></span>   ktrig_start, ktrig_stop, knumtics, kfn, kin1 [,kin2,...,kinN]</pre>
      </div>
      <div class="refsect1">
        <a id="idp157466800"></a>
        <h2>Performance</h2>
        <p>
      <span class="emphasis"><em>ktrig_start</em></span> -- start recording when
    non-zero.
    </p>
        <p>
      <span class="emphasis"><em>ktrig_stop</em></span> -- stop recording when <span class="emphasis"><em>knumtics</em></span>
    trigger impulses are received by this input argument.
    </p>
        <p>
      <span class="emphasis"><em>knumtics</em></span> -- stop recording or reset playing
    pointer to zero when the number of tics defined by this argument
    is reached.
    </p>
        <p>
      <span class="emphasis"><em>kfn</em></span> -- table where k-rate signals are recorded.
    </p>
        <p>
      <span class="emphasis"><em>kin1,...,kinN</em></span> -- input signals to record.
    </p>
        <p>
      The <span class="emphasis"><em>tabrec</em></span> and <a class="link" href="tabplay.html" title="tabplay"><em class="citetitle">tabplay</em></a>
      opcodes allow to record/playback control signals on
      trigger-temporization basis.
    </p>
        <p>
      <span class="emphasis"><em>tabrec</em></span> opcode records a group of k-rate
      signals by storing them into <span class="emphasis"><em>kfn</em></span> table. Each time <span class="emphasis"><em>ktrig_start</em></span> is
      triggered, <span class="emphasis"><em>tabrec</em></span> resets the table pointer to zero and begins to
      record. Recording phase stops after <span class="emphasis"><em>knumtics</em></span> trigger impulses
      have been received by <span class="emphasis"><em>ktrig_stop</em></span> argument.
    </p>
        <p>
      These opcodes can be used like a  sort of ``middle-term'' memory
      that ``remembers'' generated signals. Such memory can be used to
      supply generative music with a coherent iterative compositional structure.
    </p>
      </div>
      <div class="refsect1">
        <a id="idp157478048"></a>
        <h2>See Also</h2>
        <p>
          <a class="link" href="tabplay.html" title="tabplay">
            <em class="citetitle">tabplay</em>
          </a>
        </p>
      </div>
      <div class="refsect1">
        <a id="idp157479904"></a>
        <h2>Credits</h2>
        <p>Written by Gabriel Maldonado.</p>
      </div>
    </div>
    <div class="navfooter">
      <hr />
      <table width="100%" summary="Navigation footer">
        <tr>
          <td width="40%" align="left"><a accesskey="p" href="tabplay.html">Prev</a> </td>
          <td width="20%" align="center">
            <a accesskey="u" href="OpcodesTop.html">Up</a>
          </td>
          <td width="40%" align="right"> <a accesskey="n" href="tabsum.html">Next</a></td>
        </tr>
        <tr>
          <td width="40%" align="left" valign="top">tabplay </td>
          <td width="20%" align="center">
            <a accesskey="h" href="index.html">Home</a>
          </td>
          <td width="40%" align="right" valign="top"> tabsum</td>
        </tr>
      </table>
    </div>
  </body>
</html>
